package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_qixi_send", autoSave = true, eventName = "year_send", dataUpload = true,uploadCk = true,desc = "新春冲榜/七夕-送花记录")
public class LogQixiSendFlower extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "目标玩家ID", dataAttribute = "year_senduserid")
    private long targetUserId;
    @FieldTypeAnnotation(desc = "花id", dataAttribute = "year_sendid")
    private int flowerId;
    @FieldTypeAnnotation(desc = "花数")
    private int flowerNum;
    @FieldTypeAnnotation(desc = "增加成就值",  dataAttribute = "year_sendnum")
    private int achieveAdd;


    public LogQixiSendFlower(int activityId, long userId, long targetUserId, int flowerId, int flowerNum, int achieveAdd) {
        this.activityId = activityId;
        this.userId = userId;
        this.targetUserId = targetUserId;
        this.flowerId = flowerId;
        this.flowerNum = flowerNum;
        this.achieveAdd = achieveAdd;
    }

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getFlowerId() {
        return flowerId;
    }

    public void setFlowerId(int flowerId) {
        this.flowerId = flowerId;
    }

    public int getFlowerNum() {
        return flowerNum;
    }

    public void setFlowerNum(int flowerNum) {
        this.flowerNum = flowerNum;
    }

    public int getAchieveAdd() {
        return achieveAdd;
    }

    public void setAchieveAdd(int achieveAdd) {
        this.achieveAdd = achieveAdd;
    }

}
